<?php

/**
* @Author:  	Daniel Dinh
* @Email:   	webdevelopmentvn@gmail.com
* @Link: 		http://www.joomsoft.net
* @Version: 	1.0
* @copyright:	Joomsoft.net
* @license:		Commercial
*/

// no direct access
defined('_JEXEC') or die;

// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_jsnplugin')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
$doc= & JFactory::getDocument();
$doc->addStyleSheet(JURI::root().'administrator/components/com_jsnplugin/assets/css/style.css');
// Include dependancies
jimport('joomla.application.component.controller');


$controller	= JController::getInstance('jsnplugin');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();
